package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author：朕
 * @Package：com.key.common.vo
 * @Project：ams_system
 * @name：AssetHistoryVO
 * @Date：2023/2/18 17:02
 * @Filename：AssetHistoryVO
 */
@ApiModel("资产履历的实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AssetHistoryVO {
    @ApiModelProperty(name = "AssetHistoryId",notes = "资产履历的Id",dataType = "Integer")
    private Integer AssetHistoryId;
    @ApiModelProperty(name = "assetsState",notes = "资产状态",dataType = "String")
    private String assetsState;                 //资产状态
    @ApiModelProperty(name = "assetsPhoto",notes = "资产照片",dataType = "String")
    private String assetsPhoto;                 //资产照片
    @ApiModelProperty(name = "assetsCode",notes = "资产编码",dataType = "String")
    private String assetsCode;                  //资产编码
    @ApiModelProperty(name = "assetsName",notes = "资产名称",dataType = "String")
    private String assetsName;                  //资产名称
    @ApiModelProperty(name = "assetTypeName",notes = "资产分类名字",dataType = "String")
    private String assetTypeName;               //资产分类名字
    @ApiModelProperty(name = "modelName",notes = "型号名",dataType = "String")
    private String modelName;                   //型号名
    @ApiModelProperty(name = "assetsSerialNumber",notes = "资产序列号",dataType = "String")
    private String assetsSerialNumber;          //资产序列号(SN号)
    @ApiModelProperty(name = "assetsUnitMeasurement",notes = "资产的计量单位",dataType = "String")
    private String assetsUnitMeasurement;       //资产的计量单位
    @ApiModelProperty(name = "assetsMoney",notes = "资产金额",dataType = "String")
    private BigDecimal assetsMoney;             //资产金额
    @ApiModelProperty(name = "company",notes = "所属公司",dataType = "String")
    private String company;                     //所属公司
    @ApiModelProperty(name = "department",notes = "所属部门",dataType = "String")
    private String department;                  //所属部门
    @ApiModelProperty(name = "assetsEmployeeName",notes = "使用人",dataType = "String")
    private String assetsEmployeeName;          //使用人
    @ApiModelProperty(name = "areaName",notes = "区域名",dataType = "String")
    private String areaName;                   //区域名
    @ApiModelProperty(name = "assetsStorageLocation",notes = "存储地点",dataType = "String")
    private String assetsStorageLocation;       //存储地点
    @ApiModelProperty(name = "assetsManagerId",notes = "管理员",dataType = "Long")
    private String assetsManagerId;             //管理员
    @ApiModelProperty(name = "assetsAdminId",notes = "所属公司",dataType = "Long")
    private String assetsAdminId;               //所属公司
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty(name = "assetsPurchaseDate",notes = "购入日期",dataType = "Timestamp")
    private String assetsPurchaseDate;                  //购入日期
    @ApiModelProperty(name = "supplier",notes = "供应商",dataType = "String")
    private String supplier;                   //供应商
    @ApiModelProperty(name = "assetsServiceLife",notes = "资产使用期限",dataType = "Integer")
    private Integer assetsServiceLife;         //资产使用期限

}
